/* src/assets/styles.css */

/* 确保模态框的 z-index 足够高 */
.el-dialog {
  z-index: 3000 !important;
}

/* 深色主题 */
body.dark-theme {
  background-color: #2c3e50;
  color: #ecf0f1;
}

/* 确保 Element Plus 的组件在深色主题下显示正常 */
body.dark-theme .el-dialog,
body.dark-theme .el-select-dropdown,
body.dark-theme .el-dropdown-menu {
  background-color: #34495e;
  color: #ecf0f1;
}

/* 头部标题颜色 */
.header-content h2 {
  color: white;
}

/* 登录页及其他页面的背景颜色调整 */
body.dark-theme .login-card,
body.dark-theme .el-card {
  background-color: #34495e;
  color: #ecf0f1;
}

body.dark-theme .el-input,
body.dark-theme .el-select,
body.dark-theme .el-table {
  background-color: #3c4f63;
  color: #ecf0f1;
}

body.dark-theme .el-button {
  background-color: #1abc9c;
  border-color: #16a085;
}

body.dark-theme .el-button:hover {
  background-color: #16a085;
  border-color: #149174;
}

body.dark-theme .el-tag {
  background-color: #16a085;
  color: white;
}

body.dark-theme .el-pagination {
  background-color: #3c4f63;
}
